package Matse11.projekt1;

import android.app.Activity;
import android.graphics.Canvas;
import android.graphics.Rect;
import android.os.Bundle;
import android.widget.ImageView;

public class LaengenRechnerActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        ImageView bild = (ImageView) findViewById(R.id.bild);
        Canvas c = new Canvas();
        
        Rect r = new Rect(0, 0, 50, 50);
        
        c.drawRect(r, null);
        bild.draw(c);
    }
}